<!-- 平台数据 start -->
<section class="menu_banner">
  <div class="swiper-container swiper-container-horizontal gallery-top">
    <div class="swiper-wrapper">
      <div class="swiper-slide"><img width="100%" height="100%" src="./images/7.jpg"></div>
      <div class="swiper-slide"><img width="100%" height="100%" src="./images/8.jpg"></div>
    </div>
  </div>
  <script>
    var galleryTop = new Swiper('.swiper-container', {
      spaceBetween: 10,
      loop: true,
      autoplay: 3000
    });
  </script>
</section>
<section class="dataInfo">
  <div class=" bgWhite">
    <div class="layout dataContent clearfix">
      <span class="middle1">电子积分余额(元)<em class="data">{{points.cpElecPoint||0}}</em></span>
      <!--<span>复消积分余额(元)<em class="data">0.00</em></span>-->
      <span class="middle2">当前久福币价格{{coinPrice}}(元)<em class="data"></em></span>
      <div class="last">
        <div class="noticeList">
          <div class="swiper-container">
            <div class="swiper-wrapper"
                 style="width: 285px; height: 300px; transform: translate3d(0px, 0px, 0px); transition-duration: 0s;">
              暂时没有公告
            </div>
          </div>
        </div>
        <a class="more link999" ui-sref="help.about">更多&gt;</a>
      </div>
    </div>
  </div>
</section>
<!-- 平台数据 end -->
<!-- 公告 start -->
<section class="areaList explosion">
  <div class="layout clearfix">
    <!-- start -->
    <!--<aside class="fl areaType bgWhite ">
        <div class="areaName blueTop">
            <h4>周消模式</h4>
            <a class="link_t link999 whitelink" ui-sref="help.faq" target="_blank">周消指南&gt;</a>
        </div>
        <div class="clearfix">
          <span class="desWord">超高收益</span><span class="desWord">超短期限</span><span class="desWord">全新盈利模式</span>
            <div class="fr detail">
                <div class="rateInfo">
                    <span class="rate fcDeepRed"><em>1.5</em>%</span>
                    <span class="rateNotice fc666">预期日收益率</span>
                </div>
                <p class="fc999">投资期限
                    <em class="fcDeepRed">7</em> 天
                    <em class="fcDeepRed">2000</em> 起投
                </p>
            </div>
        </div>
        <a class="link_c link333 " href="/transaction/buy?type=2" target="_blank">查看详情&gt;</a>
    </aside>-->
    <aside class="fl areaType bgWhite ">
      <div class="areaName blueTop">
        <h4>期消模式</h4>
        <a class="link_t link999 whitelink" ui-sref="help.faq" target="_blank">消费指南&gt;</a>
      </div>
      <div class="clearfix areaBody">
        <p class="desP" style="padding: 0;margin: 0;text-align: left;position: absolute;left: 20px;top:60px;">
          <span>超高收益</span><span>超短期限</span><span>全新盈利模式</span></p>
        <div class="fr detail" style="margin-top: 30px;position: absolute;left: 30px;top:60px;">
          <div class="rateInfo">
            <span class="rate fcDeepRed"><em id="tenInterest"></em>%</span>
            <span class="rateNotice fc666">预期日收益率</span>
          </div>
          <p class="fc999">投资期限
            <em class="fcDeepRed">10</em> 天
            <!--<em class="fcDeepRed">2000</em> 起投-->
          </p>
        </div>
        <div class=" areaBtn"><a class="btn" ui-sref="transaction.buy.week" target="_blank">查看详情</a></div>
      </div>
    </aside>
    <!--end -->
    <!-- start -->
    <aside class="fl areaType bgWhite boom" style="position: relative;">
      <div class="areaName dbTop">
        <h4>月消模式</h4>
        <a class="whitelink" ui-sref="help.faq" target="_blank">月消介绍 &gt;</a>
      </div>
      <div class="clearfix">
        <div class="detail">
          <div class="rateInfo" style="position: absolute;left:20px;">
            <p>日收益范围0.8%-2.0%左右</p>
            <!--<span class="rate fcDeepRed"><em id="monthInterest">1.0</em>% * </span>-->
            <span class="rate fcDeepRed"><em>30</em>天</span>
            <div class="pgSpeed">
                             <span class="pgLine" data-speed="1">
                                <span class="bgRed" style="width:0.5%"></span>
                               </span>
              <span class="fcRed pgText"><em>0</em>%</span>
            </div>
          </div>
        </div>
        <div class="goInvest">
          <a ui-sref="transaction.buy.month">立即抢购</a>
        </div>
      </div>
    </aside>
    <!-- end -->

    <aside class="fl areaType bgWhite noticeList">
      <div class="areaName pkTop">
        <h4>相关简介</h4>
        <a class="whitelink" ui-sref="help.about">更多&gt;</a>
      </div>
      <ul class="clearfix nList cgNotice">
        <li>
          <a ui-sref="help">
            【公司简介】五福控股有限公司...</a>
          <span class="fc666 data">02-23</span>
        </li>
        <li>
          <a ui-sref="help">
            【商城简介】“久福积分商城”...</a>
          <span class="fc666 data">02-23</span>
        </li>
        <li>
          <a ui-sref="help">
            【产品简介】五福金币，又名万丈须...</a>
          <span class="fc666 data">02-23</span>
        </li>
      </ul>
    </aside>
  </div>
</section>
<!-- end -->
<!-- productList start -->
<section class="areaList productList youxuan">
  <div class="layout">
    <div class="listCon bgWhite clearfix">
      <a class="fl areaType" ui-sref="shop">
        <div class="areaName">
          <h4>积分产品</h4>
        </div>
        <p class="notice">电子积分购买，产生原始积分用于增值消费。</p>
        <span class="link_c ">进入专区 &gt&gt;</span>
      </a>
      <article class="fl">
        <ul class="pList fl">
          <li class="bgWhite" ng-repeat="obj in datalist">
            <a href="javascript:void(0);" data-tid="{{obj.tid}}" onclick="addCart(this)">
              <div class="hBk"></div>
              <h4>￥{{obj.glPrice}}</h4>
              <div class="pContent">
                <div class="rateInfo">
                  <img ng-src="{{'images/shop/'+obj.glPic}}" style="width:115px;height:115px">
                  <span class="rate fcDeepRed"></span>
                </div>
                <div class="view downTimeC">
                  <span class="link333 link_s">加入购物车</span>
                </div>
                <span class="icon" style="background:none;">
                                <img src="./images/model1.png" style="height: 100%; width: 100%;">
                            </span>
              </div>
              <div class="fBk"></div>
            </a>
          </li>
        </ul>
      </article>
    </div>
  </div>
</section>
<!-- end -->

<script language="JavaScript">

  function getInterest(ruleId, name) {
    $.post('/transaction/getTodayInterest', {ruleId: ruleId}, function (data) {
      if (data.retCode == 1) {
        $('#' + name).html(data.data.interest);
      } else {

      }
    })
  }

  getInterest(1, "tenInterest");
  getInterest(2, "monthInterest");
</script>

